package com.tt.aile.item.mapper;

import com.tt.aile.item.pojo.SpecGroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author 86176 shkstrat
 * @date 2020/9/30 - 9:54
 */
public interface SpecGroupMapper extends Mapper<SpecGroup> {

    @Update("UPDATE tb_spec_group SET name = #{name} WHERE id = #{id}")
    public void updateNameById(@Param("name") String name,@Param("id") long id);
}
